Union nd with deletions

نویسندگان

  • Haim Kaplan
  • Nira Shafrir
  • Robert E. Tarjan
چکیده

In the classical union nd problem we maintain a partition of a universe of n elements into disjoint sets subject to the operations union and nd The operation union A B C replaces sets A and B in the partition by their union given the name C The operation find x returns the name of the set containing the element x In this paper we revisit the union nd problem in a context where the underlying partitioned universe is not xed Speci cally we allow a delete x operation which removes the element x from the set containing it We consider both worst case performance and amortized performance In both settings the challenge is to dynamically keep the size of the structure representing each set proportional to the number of elements in the set which may now decrease as a result of deletions For any xed k we describe a data structure that supports nd and delete in O logk n worst case time and union in O k worst case time This matches the best possible worst case bounds for nd and union in the classical setting Furthermore using an incremental global rebuilding technique we obtain a reduction converting any union nd data structure to a union nd with deletions data structure Our reduction is such that the time bounds for nd and union change only by a constant factor The time it takes to delete an element x is the same as the time it takes to nd the set containing x plus the time it takes to unite a singleton set with this set In an amortized setting a classical data structure of Tarjan supports a sequence of m nds and at most n unions on a universe of n elements in O n m m n n log n time where m n l minfk j Ak bmn c lg and Ai j is Ackermann s function as described in We re ne the analysis of this data structure and show that in fact the cost of each nd is proportional to the size of the corresponding set Speci cally we show that one can pay for a sequence of union and nd operations by charging a constant to each participating element and O m n log l for a nd of an element in a set of size l We also show how keep these amortized costs for each nd and each participating element while allowing deletions The amortized cost of deleting an element from a set of l elements is the same as the amortized cost of nding the element namely O m n log l

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

SUBMICROSCOPIC DELETIONS OF THE Y CHROMOSOME ARE NOT LIMITED TO AZOOSPERMIC MEN, BUT ARE ALSO DETECTED IN INFERTILE MEN WITH IDIOPATHIC OLIGOZOOSPERMIA

It is now agreed that 10-25% of infertile men with azoospermia have submicroscopic deletions of the Y chromosome long ann (yq), consistent with the proposed location of the azoospermia locus (AZF) in Yq 11.23. However, it is not known whether Yq microdeletions are unique to men with azoospermia or whether they are also observed in infertile men with less severe defects of spermatogenesis (o...

متن کامل

Role of Mitochondria in Ataxia-Telangiectasia: Investigation of Mitochondrial Deletions and Haplogroups

Ataxia-Telangiectasia (AT) is a rare human neurodegenerative autosomal recessive multisystem disease that is characterized by a wide range of features including, progressive cerebellar ataxia with onset during infancy, occulocutaneous telangiectasia, susceptibility to neoplasia, occulomotor disturbances, chromosomal instability and growth and developmental abnormalities. Mitochondrial DNA (mtDN...

متن کامل

A De Novo Genome Sequence Assembly of the Arabidopsis thaliana Accession Niederzenz-1 Displays Presence/Absence Variation and Strong Synteny

Arabidopsis thaliana is the most important model organism for fundamental plant biology. The genome diversity of different accessions of this species has been intensively studied, for example in the 1001 genome project which led to the identification of many small nucleotide polymorphisms (SNPs) and small insertions and deletions (InDels). In addition, presence/absence variation (PAV), copy num...

متن کامل

Constructing Nondominated Local Coteries for Distributed Resource Allocation

The resource allocation problem is a fundamental problem in distributed systems. In this paper, we focus on constructing nondominated (ND) local coteries to solve the problem. Distributed algorithms using coteries usually incur low communication overhead and have high degree of fault-tolerance, and ND coteries are candidates for the algorithms to achieve the highest degree of fault-tolerance. W...

متن کامل

Molecular Study of Partial Deletions of AZFc Region of the Y Chromosome in Infertile Men

Background & Aims: The most significant cause of infertility in men is the genetic deletion in the azoospermia factor (AZF) region that is caused by the process of intra- and inter-chromosomal homologous recombination in amplicons. Homologous recombination could also result in partial deletions in AZF region. The aim of this research was to determine the association between the partial AZFc del...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002